﻿using WeiboWPSdk.Json;

namespace WeiboWPSdk.ResponseEntity {
    /// <summary>
    /// 错误类
    /// </summary>
    public class Error : EntityBase {
        /// <summary>
        /// 错误编码
        /// </summary>
        [JsonProperty("error_code")]
        public int Code { get; internal set; }
        /// <summary>
        /// 请求地址
        /// </summary>
        [JsonProperty("request")]
        public string Request { get; internal set; }
        /// <summary>
        /// 消息
        /// </summary>
        [JsonProperty("error")]
        public string Message { get; internal set; }
    }
}
